type type1=string | number
type optionType={
    username:string,
    age:number,
    sex?:string,
}

function getUserData(option:optionType){
    return option
}

console.log(getUserData({
    username:"string",
    age:18,
}));

export {}
